﻿<tr>
    @if (PalletDto != null)
    {
        <td>@PalletDto.PalletNumber</td>
        <td>@PalletDto.MtlNumber</td>
        <td>@PalletDto.PalletLength</td>
        <td>@PalletDto.PalletWidth</td>
        <td>@PalletDto.PalletHeight</td>
        <td>@PalletDto.GrossWeight</td>
        <td>@PalletDto.NetWeight</td>
        <td>@PalletDto.Remark</td>
        <td>@PalletDto.Type</td>
        <td>@PalletDto.Length</td>
        <td>@PalletDto.Width</td>
        <td>@PalletDto.Height</td>
        <td>@PalletDto.Location</td>
        <td>@(PalletDto.WarehousingTime!= null ? PalletDto.WarehousingTime.Value.ToString("MM/dd"):"未入库")</td>
        <td>@(PalletDto.ShippingTime!=null ? PalletDto.ShippingTime.Value.ToString("MM/dd") : "未发货")</td>
    }
</tr>

@code {
    [Parameter]
    public PalletDto? PalletDto { get; set; }
}
